package com.opensky.qatest.util.common;

public class AssertReport {

    private static final String WRONG_URL = "Wrong URL, expected '%s' but actual '%s'!";

    private static final String ELEMENT_NOT_FOUND = "Element '%s' does not present on the page!";

    private static final String ELEMENT_NOT_EXPECTED = "Element '%s' is not expected to present!";

    private static final String PAGE_NOT_LODED = "'%s' page was not loaded!";

    public static String wrongURL(String expected, String actual) {
	return String.format(WRONG_URL, expected, actual);
    }

    public static String elementNotFound(String element) {
	return String.format(ELEMENT_NOT_FOUND, element);
    }

    public static String unexpectedElementFound(String element) {
	return String.format(ELEMENT_NOT_EXPECTED, element);
    }

    public static String pageNotLoaded(String page) {
	return String.format(PAGE_NOT_LODED, page);
    }
}
